<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>热区测试</title>
	<style>
		#div {width: 300px;height: 300px;border: 1px solid red; position: absolute; }
	</style>
</head>
<body>
	<div id="div"></div>
	<script>
		var div = document.getElementById('div');
		div.onclick = function(ev) {
			console.log(ev);
			// var x = ev.clientX;
			// var y = ev.clientY;
			// console.log(x);
			// console.log(y);
			// if(x<100&&y<100) {
			// 	console.log(123)
			// }
		}
	</script>
</body>
</html>